<div class="planosaudes form">
<?php echo $this->Form->create('Planosaude'); ?>
	<fieldset>
		<legend><?php echo __('Editar Plano de Saúde'); ?></legend>
	<?php
		echo $this->Form->input('id');
		/*echo $this->Form->input('titulo', array('label' => 'Título: ', 'style' => 'width: 400px; height: 15px;'));
		echo $this->Form->input('registroans', array('label' => 'Registro ANS:', 'style' => 'width: 400px; height: 15px;'));
		echo $this->Form->input('valorplano',  array('label' => 'Acomodação/Valor do Plano: ', 'style' => 'width: 400px; height: 15px;'));
		echo $this->Form->input('redecredenciada',  array('label' => 'Rede Credenciada', 'style' => 'width: 400px; height: 15px;'));
		echo $this->Form->input('abrangencia',  array('label' => 'Abrangência:', 'style' => 'width: 400px; height: 15px;'));
		echo $this->Form->input('cobertura', array('label' => 'Cobertura:', 'style' => 'width: 400px; height: 15px;'));
		echo $this->Form->input('vencimento',  array('label' => 'Vencimento:', 'style' => 'width: 400px; height: 15px;'));
		echo $this->Form->input('preco_id');
		echo $this->Form->input('operadora_id');
		echo $this->Form->input('ordemexibicao', array('label' => 'Ordem de Exibição: ','options' => array('Selecione', '1º', '2º', '3º', '4º', '5º', '6º', '7º', '8º', '9º', '10º') , 'div' => array('id' => 'ordex_div')));*/
	?>
	<div style="float: left; position:relative; width: 700px; height:42px; padding: 14px 0px 0px 20px; margin: 0px; clear: none; background: #E5E5E5; ">
			<div style=" width: 800px; height: 26px; padding: 0px; margin: 0px; vertical-align: middle; clear: none;">
				<div style="float: left; position:relative; width: 30%; height:25px; padding: 0px 10px 0px 0px; margin: 0px; clear: none; padding-top: 2px;">
					<p style=" font-size: 15px; color: #003d4c; font-weight: bold; text-align:right; padding-top: 5px; margin: 0px; ">Título: <span style="color: red;">*</span> </p>
				</div>
				<div style="float:left; position:relative; width: 67%; height:25px; padding: 0px; margin: 0px; clear: none;">
					<?php //echo $this->Form->input('titulo', array('label' => '', 'style' => 'width: 400px; height: 15px;', 'class' => 'textdataInputtext'));?>
					<input type="text" id="PlanosaudeTitulo" class="textdataInputtext" maxlength="60" style=" font-size: 15px; width: 400px; height: 30px; padding: 0px 5px 0px 5px; margin: 0px; " name="data[Planosaude][titulo]" value="<?php echo $planosaude[0]['Planosaude']['titulo']  ?>" required="required" >
				</div>
			</div>
		</div>
		
		<div style="height: 5px; padding: 0px; margin: 0px;"></div>
		
		<div style="float: left; position:relative; width: 700px; height:42px; padding: 14px 0px 0px 20px; margin: 0px; clear: none; background: #E5E5E5; ">		
			<div style=" width: 800px; height: 26px; padding: 0px; margin: 0px; vertical-align: middle; clear: none;">
				<div style="float: left; position:relative; width: 30%; height:25px; padding: 0px 10px 0px 0px; margin: 0px; clear: none; padding-top: 2px;">
					<p style=" font-size: 15px; color: #003d4c; font-weight: bold; text-align:right; padding-top: 5px; margin: 0px; ">Registro ANS: <span style="color: red;">*</span> </p>
				</div>
				<div style="float:left; position:relative; width: 67%; height:25px; padding: 0px; margin: 0px; clear: none;">
					<input type="text" id="PlanosaudeRegistroans" class="textdataInputtext" maxlength="40" style=" font-size: 15px; width: 400px; height: 30px; padding: 0px 5px 0px 5px; margin: 0px; " name="data[Planosaude][registroans]" value="<?php echo $planosaude[0]['Planosaude']['registroans']  ?>" required="required" >
				</div>
			</div>
		</div>
		
		<div style="height: 5px; padding: 0px; margin: 0px;"></div>
		
		<div style="float: left; position:relative; width: 720px; height:42px; padding: 14px 0px 0px 0px; margin: 0px; clear: none; background: #E5E5E5; ">		
			<div style=" width: 800px; height: 26px; padding: 0px; margin: 0px; vertical-align: middle; clear: none;">
				<div style="float: left; position:relative; width: 32%; height:25px; padding: 0px 10px 0px 0px; margin: 0px; clear: none; padding-top: 2px;">
					<p style=" font-size: 15px; color: #003d4c; font-weight: bold; text-align:right; padding-top: 5px; margin: 0px; ">Acomodação/Valor do Plano: <span style="color: red;">*</span> </p>
				</div>
				<div style="float:left; position:relative; width: 65%; height:25px; padding: 0px; margin: 0px; clear: none;">
					<input type="text" id="PlanosaudeValorplano" class="textdataInputtext" maxlength="100" style=" font-size: 15px; width: 400px; height: 30px; padding: 0px 5px 0px 5px; margin: 0px; " name="data[Planosaude][valorplano]" value="<?php echo $planosaude[0]['Planosaude']['valorplano']  ?>" required="required" >
				</div>
			</div>
		</div>
		
		<div style="height: 5px; padding: 0px; margin: 0px;"></div>
		
		<div style="float: left; position:relative; width: 700px; height:42px; padding: 14px 0px 0px 20px; margin: 0px; clear: none; background: #E5E5E5; ">		
			<div style=" width: 800px; height: 26px; padding: 0px; margin: 0px; vertical-align: middle; clear: none;">
				<div style="float: left; position:relative; width: 30%; height:25px; padding: 0px 10px 0px 0px; margin: 0px; clear: none; padding-top: 2px;">
					<p style=" font-size: 15px; color: #003d4c; font-weight: bold; text-align:right; padding-top: 5px; margin: 0px; ">Rede Credenciada: <span style="color: red;">*</span> </p>
				</div>
				<div style="float:left; position:relative; width: 67%; height:25px; padding: 0px; margin: 0px; clear: none;">
					<input type="text" id="PlanosaudeRedecredenciada" class="textdataInputtext" maxlength="140" style=" font-size: 15px; width: 400px; height: 30px; padding: 0px 5px 0px 5px; margin: 0px; " name="data[Planosaude][redecredenciada]" value="<?php echo $planosaude[0]['Planosaude']['redecredenciada']  ?>" required="required" >
				</div>
			</div>
		</div>
		
		<div style="height: 5px; padding: 0px; margin: 0px;"></div>
		
		<div style="float: left; position:relative; width: 700px; height:42px; padding: 14px 0px 0px 20px; margin: 0px; clear: none; background: #E5E5E5; ">		
			<div style=" width: 800px; height: 26px; padding: 0px; margin: 0px; vertical-align: middle; clear: none;">
				<div style="float: left; position:relative; width: 30%; height:25px; padding: 0px 10px 0px 0px; margin: 0px; clear: none; padding-top: 2px;">
					<p style=" font-size: 15px; color: #003d4c; font-weight: bold; text-align:right; padding-top: 5px; margin: 0px; ">Abrangência: <span style="color: red;">*</span> </p>
				</div>
				<div style="float:left; position:relative; width: 67%; height:25px; padding: 0px; margin: 0px; clear: none;">
					<input type="text" id="PlanosaudeAbrangencia" class="textdataInputtext" maxlength="255" style=" font-size: 15px; width: 400px; height: 30px; padding: 0px 5px 0px 5px; margin: 0px; " name="data[Planosaude][abrangencia]" value="<?php echo $planosaude[0]['Planosaude']['abrangencia']  ?>" required="required" >
				</div>
			</div>
		</div>
		
		<div style="height: 5px; padding: 0px; margin: 0px;"></div>
		
		<div style="float: left; position:relative; width: 700px; height:42px; padding: 14px 0px 0px 20px; margin: 0px; clear: none; background: #E5E5E5; ">		
			<div style=" width: 800px; height: 26px; padding: 0px; margin: 0px; vertical-align: middle; clear: none;">
				<div style="float: left; position:relative; width: 30%; height:25px; padding: 0px 10px 0px 0px; margin: 0px; clear: none; padding-top: 2px;">
					<p style=" font-size: 15px; color: #003d4c; font-weight: bold; text-align:right; padding-top: 5px; margin: 0px; ">Cobertura: <span style="color: red;">*</span> </p>
				</div>
				<div style="float:left; position:relative; width: 67%; height:25px; padding: 0px; margin: 0px; clear: none;">
					<input type="text" id="PlanosaudeCobertura" class="textdataInputtext" maxlength="140" style=" font-size: 15px; width: 400px; height: 30px; padding: 0px 5px 0px 5px; margin: 0px; " name="data[Planosaude][cobertura]" value="<?php echo $planosaude[0]['Planosaude']['cobertura']  ?>" required="required" >
				</div>
			</div>
		</div>
		
		<div style="height: 5px; padding: 0px; margin: 0px;"></div>
		
		<div style="float: left; position:relative; width: 700px; height:42px; padding: 14px 0px 0px 20px; margin: 0px; clear: none; background: #E5E5E5; ">		
			<div style=" width: 800px; height: 26px; padding: 0px; margin: 0px; vertical-align: middle; clear: none;">
				<div style="float: left; position:relative; width: 30%; height:25px; padding: 0px 10px 0px 0px; margin: 0px; clear: none; padding-top: 2px;">
					<p style=" font-size: 15px; color: #003d4c; font-weight: bold; text-align:right; padding-top: 5px; margin: 0px; ">Vencimento: <span style="color: red;">*</span> </p>
				</div>
				<div style="float:left; position:relative; width: 67%; height:25px; padding: 0px; margin: 0px; clear: none;">
					<input type="text" id="PlanosaudeVencimento" class="textdataInputtext" maxlength="40" style=" font-size: 15px; width: 400px; height: 30px; padding: 0px 5px 0px 5px; margin: 0px; " name="data[Planosaude][vencimento]" value="<?php echo $planosaude[0]['Planosaude']['vencimento']  ?>" required="required" >
				</div>
			</div>
		</div>
		
		<div style="height: 5px; padding: 0px; margin: 0px;"></div>
		
		<div style="float: left; position:relative; width: 700px; height:42px; padding: 14px 0px 0px 20px; margin: 0px; clear: none; background: #E5E5E5; ">		
			<div style=" width: 800px; height: 26px; padding: 0px; margin: 0px; vertical-align: middle; clear: none;">
				<div style="float: left; position:relative; width: 30%; height:25px; padding: 0px 10px 0px 0px; margin: 0px; clear: none; padding-top: 2px;">
					<p style=" font-size: 15px; color: #003d4c; font-weight: bold; text-align:right; padding-top: 0px; margin: 0px; ">Preço: </p>
				</div>
				<div style="float:left; position:relative; width: 67%; height:25px; padding: 0px; margin: 0px; clear: none;">
					<select id="PlanosaudePrecoId" name="data[Planosaude][preco_id]" style=" width: 414px; ">
						<?php foreach ($precos as $preco => $titulo): ?>
							<option value="<?php echo $preco; ?>" <?php echo $preco == $planosaude[0]['Planosaude']['preco_id'] ? 'selected="selected"' : ''?>><?php echo $titulo; ?></option>
						<?php endforeach; ?>
					</select>
				</div>
			</div>
		</div>
		
		<div style="height: 5px; padding: 0px; margin: 0px;"></div>
		
		<div style="float: left; position:relative; width: 700px; height:42px; padding: 14px 0px 0px 20px; margin: 0px; clear: none; background: #E5E5E5; ">		
			<div style=" width: 800px; height: 26px; padding: 0px; margin: 0px; vertical-align: middle; clear: none;">
				<div style="float: left; position:relative; width: 30%; height:25px; padding: 0px 10px 0px 0px; margin: 0px; clear: none; padding-top: 2px;">
					<p style=" font-size: 15px; color: #003d4c; font-weight: bold; text-align:right; padding-top: 0px; margin: 0px; ">Operadora: </p>
				</div>
				<div style="float:left; position:relative; width: 67%; height:25px; padding: 0px; margin: 0px; clear: none;">
					<select id="PlanosaudeOperadoraId" name="data[Planosaude][operadora_id]" style=" width: 414px; ">
						<?php foreach ($operadoras as $operadora => $nome): ?>
							<option value="<?php echo $operadora; ?>" <?php echo $operadora == $planosaude[0]['Planosaude']['operadora_id'] ? 'selected="selected"' : ''?>><?php echo $nome; ?></option>
						<?php endforeach; ?>
					</select>
				</div>
			</div>
		</div>
		
		<div style="height: 5px; padding: 0px; margin: 0px;"></div>
		
		<div style="float: left; position:relative; width: 700px; height:42px; padding: 14px 0px 0px 20px; margin: 0px; clear: none; background: #E5E5E5; ">		
			<div style=" width: 800px; height: 26px; padding: 0px; margin: 0px; vertical-align: middle; clear: none;">
				<div style="float: left; position:relative; width: 30%; height:25px; padding: 0px 10px 0px 0px; margin: 0px; clear: none; padding-top: 2px;">
					<p style=" font-size: 15px; color: #003d4c; font-weight: bold; text-align:right; padding-top: 0px; margin: 0px; ">Ordem de Exibição: <span style="color: red;">*</span> </p>
				</div>
				<div style="float:left; position:relative; width: 67%; height:25px; padding: 0px; margin: 0px; clear: none;">
					<select id="PlanosaudeOrdemexibicao" name="data[Planosaude][ordemexibicao]" style=" width: 414px; " >
						<?php foreach ($ordemexibicao as $i => $posicao): ?>
							<option value="<?php echo $i; ?>" <?php echo $i == $planosaude[0]['Planosaude']['ordemexibicao'] ? 'selected="selected"' : ''?>><?php echo $posicao; ?></option>
						<?php endforeach; ?>
					</select>
				</div>
			</div>
		</div>
	</fieldset>
<?php echo $this->Form->end(__('Salvar')); ?>
</div>
<div class="main_menu_div">
	<h3><?php echo $this->Html->link('HOME', array('controller' => 'adm', 'action' => 'index')); ?></h3>
	<ul id="accordion">
		<li id="main_menu">Cadastro</li>
		<ul>
			<li><?php echo $this->Html->link(__('Anexos E-mail'), array('controller' => 'anexoemails', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Arquivos de Termos'), array('controller' => 'arquivotermos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Bancos'), array('controller' => 'bancos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Categorias'), array('controller' => 'categorias', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Corretores'), array('controller' => 'corretors', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Entidades'), array('controller' => 'entidades', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Estados'), array('controller' => 'ufs', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Estado Civil'), array('controller' => 'estadocivils', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Formas de Pagamento'), array('controller' => 'fpagamentos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Imagens'), array('controller' => 'imagems', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Operadoras'), array('controller' => 'operadoras', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Operadoras Detalhes'), array('controller' => 'operadoradetalhes', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Órgãos'), array('controller' => 'orgaos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Parcelas'), array('controller' => 'parcelas', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Parentesco'), array('controller' => 'parentescos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Perfil Servidor'), array('controller' => 'perfilservidors', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Profiles'), array('controller' => 'profiles', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Planos de Saúde'), array('controller' => 'planosaudes', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Preços'), array('controller' => 'precos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Sindicatos'), array('controller' => 'sindicatos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Situação Servidor'), array('controller' => 'statusservidors', 'action' => 'index')); ?> </li>
			
		</ul>
		<li id="main_menu">Vínculos</li>
		<ul>
			<li><?php echo $this->Html->link(__('Entidades'), array('controller' => 'vinc_entidades', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Formas de Pagamento'), array('controller' => 'vinc_pagamentos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Parentescos'), array('controller' => 'vinc_parentescos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Sindicato'), array('controller' => 'vinc_sindicatos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Odontológico'), array('controller' => 'vinc_odontologicos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Estados'), array('controller' => 'vinc_ufs', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Categorias'), array('controller' => 'vinc_categorias', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Órgãos'), array('controller' => 'vinc_orgaos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Corretores'), array('controller' => 'vinc_corretors', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Limpar Vínculos'), array('controller' => 'vinc_clears', 'action' => 'index')); ?> </li>
			
		</ul>
		<li id="main_menu">Relatórios</li>
		<ul>
			<li><?php echo $this->Html->link(__('Cadastrados'), array('controller' => 'relat_cadastrados', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Detalhado'), array('controller' => 'relat_detalhados', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Financeiro'), array('controller' => 'relat_financeiros', 'action' => 'index')); ?> </li>
		</ul>
		<li id="main_menu">Usuários</li>
		<ul>
			<li><?php echo $this->Html->link(__('Listar Usuários'), array('controller' => 'users', 'action' => 'index')); ?> </li>
		</ul>
	</ul>
</div>
